System and method for selective inspection of encrypted traffic

ABSTRACT

Inspection of encrypted network traffic where multiple network connections are monitored that carry encrypted data, but only a subset of the network connections are decrypted and inspected. Typically, only network connections that are associated with designated target users whose encrypted data is to be inspected are decrypted. A Network Monitor Center (NMC) dynamically establishes a list of rules for selection of encrypted data connections. The rules are provided to a Secure data Inspection Appliance (SIA) that accepts some or all of the network user encrypted traffic and checks it against a rule table. When detecting an encrypted connection that matches the rule table, the SIA decrypts the connection and provides a copy of the connection plain data to the NMC. The NMC then inspects the plain data for security threats. Once a security threat is found in a connection, the NMC applies predefined consequent actions to this connection.

FIELD OF THE DISCLOSURE

The present disclosure relates generally to secure communication, and particularly to methods and systems for inspection of encrypted communication.

BACKGROUND OF THE DISCLOSURE

The Transport Layer Security (TLS) Protocol and its predecessor, Secure Socket Layer (SSL), are examples of cryptographic protocols that provide security and data integrity for communications over Transmission Control Protocol (TCP)/Internet Protocol (IP) networks such as the global Internet. TLS is specified by the Internet Engineering Task Force (IETF) in RFC 5246, entitled “The Transport Layer Security (TLS) Protocol Version 1.2,” August, 2008, which is incorporated herein by reference.

SUMMARY OF THE DISCLOSURE

An embodiment that is described herein provides a method that includes analyzing data relating to users of a communication network, which carries multiple data connections conveying encrypted data, so as to establish one or more selection rules. A subset of the multiple data connections is selected based on the selection rules. An inspection device is configured to decrypt the encrypted data conveyed by the data connections in the selected subset.

In some embodiments, analyzing the data includes identifying one or more target users of the communication network, and defining the selection rules to select the data connections associated with the target users. In an embodiment, analyzing the data includes obtaining respective identifiers of one or more target users by communicating with an authentication node of the communication network, and selecting the subset includes choosing the data connections associated with the obtained identifiers. In a disclosed embodiment, the authentication node includes a Remote Authentication Dial-In User Service (RADIUS) server. In another embodiment, the identifiers include temporary Internet Protocol (IP) addresses that are assigned to the target users.

In yet another embodiment, analyzing the data includes defining the selection rules so as to identify one or more of the data connections that carry malicious content. In still another embodiment, selecting the subset includes configuring a network switch to forward only the selected subset of the network connections to the inspection device. Configuring the network switch may include causing the network switch to distribute the network connections in the subset among multiple inspection devices in accordance with a load balancing criterion. In an embodiment, the encrypted data has been encrypted in accordance with a Secure Socket Layer (SSL) protocol. In another embodiment, the encrypted data has been encrypted in accordance with a Transport Layer Security (TLS) protocol.

There is additionally provided, in accordance with an embodiment that is described herein, apparatus including one or more network interfaces and a processor. The network interfaces are configured to communicate with a communication network that carries multiple data connections conveying encrypted data. The processor is configured to analyze data relating to users of the communication network so as to establish one or more selection rules, to select a subset of the multiple data connections based on the selection rules, and to configure an inspection device to decrypt the encrypted data conveyed by the data connections in the selected subset.

There is additionally provided, in accordance with an embodiment that is described herein, apparatus including a monitoring unit and an inspection device. The monitoring unit is configured to analyze data relating to users of a communication network, which carries multiple data connections conveying encrypted data, so as to establish one or more selection rules, to select a subset of the multiple data connections based on the selection rules, and to output an indication of the selected subset. The inspection device is configured to receive the indication of the selected subset from the monitoring unit, to decrypt the encrypted data conveyed by the data connections in the selected subset, and to output the decrypted data.

The present disclosure will be more fully understood from the following detailed description of the embodiments thereof, taken together with the drawings in which:

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram that schematically illustrates a system for selective inspection of encrypted network traffic, in accordance with an embodiment of the present disclosure; and

FIG. 2 is a flowchart that schematically illustrates a method for selective SSL inspection, in accordance with an embodiment of the present disclosure.

DETAILED DESCRIPTION OF EMBODIMENTS OVERVIEW

Encrypted network traffic imposes a challenge to various security applications, such as data leakage prevention, intrusion detection and prevention, and lawful interception. While providing security for end users, encrypted network traffic can be used for illegitimate purposes, such as for transferring malicious software or illegitimate content while circumventing security applications. Embodiments that are described herein provide improved methods and systems for inspection of encrypted traffic in communication network.

Some security applications inspect encrypted traffic in order to protect communication networks against such threats. Inspection solutions are offered, for example, by Blue Coat Systems (Sunnyvale, Calif.), and by Check Point Software Technologies (Tel Aviv, Israel). Example inspection solutions that are produced by Netronome Systems, Inc. (Cranberry Twp., Pa.) are described in “Examining SSL-Encrypted Communications—Netronome SSL Inspector™ Solution Overview,” February, 2010, which is incorporated herein by reference. SSL inspection products are also offered by Packet Forensics, Inc. (Tempe, Ariz.). SSL inspection is also addressed by Soghoian and Stamm, in “Certified Lies: Detecting and Defeating Government Interception Attacks Against SSL,” April, 2010, which is incorporated herein by reference.

Embodiments that are described herein provide improved methods and systems for inspection of encrypted network traffic. These methods and systems monitor multiple network connections that carry public-key encrypted data, but decrypt and inspect only a selected subset of the network connections. Typically, the disclosed techniques identify and decrypt only network connections that are associated with one or more designated target users whose encrypted data is to be inspected. The network connections for inspection can be selected using various selection criteria, examples of which are described herein.

In an example embodiment, a Network Monitor Center (NMC) analyzes plain (unencrypted) data that relates to users of a communication network according to predefined analysis rules. Based on the analysis, the NMC dynamically establishes a list of rules for selection of encrypted data connections. For example, an analysis rule may specify a network access login-name the of a target user, and a resulting selection rule would specify a temporary IP address that the network allocates to the target user once he or she logs in to the network. The NMC provides this list, as a “rule table,” to a Secure data Inspection Appliance (SIA) and keeps updating this table upon changes in the list. The SIA accepts some or all of the network user encrypted traffic and checks it against the rule table. The SIA transfers transparently the encrypted connections that do not match the rule table. However, when detecting an encrypted connection that matches the rule table, the SIA decrypts the connection and provides a copy of the connection plain data to the NMC. The NMC then inspects the plain data for security threats. Once a security threat is found in a connection, the NMC applies predefined consequent actions to this connection.

By selectively inspecting only the encrypted connections that match the dynamically established selection rule list, the methods and systems described herein make efficient use of encrypted traffic inspection resources. As such, the disclosed techniques are highly scalable and enable reliable traffic inspection on high-volume communication channels. Moreover, since encrypted traffic inspection is sometimes noticeable by the end user due to using a substitute certificate, the selective inspection techniques described herein reduce the nuisance to users and also the likelihood of being discovered, making them useful in lawful interception applications.

System Description

FIG. 1 is a block diagram that schematically illustrates a system 100 for selective inspection of encrypted network traffic between clients and servers, in accordance with an embodiment of the present disclosure. System 100 comprises three client devices 104 that are connected to an Intranet 108. The three devices 104 represent any number and any type of device such as desktop, laptop and smart-phone. An Intranet 108 represents any type of local network, typically Internet Protocol (IP) based. In an embodiment, such a network comprises an enterprise Local Area Network (LAN) or an Internet Service Provider (ISP) access network.

Lines 112 and 118 illustrate a communication channel between Intranet 108 and a Wide Area Network (WAN) 120, which conveys multiple user connections that carry plain and encrypted data. In typical embodiments WAN 120 comprises the Internet which is the most global WAN in the world. The connections within communication channel 112/118 connect client devices 104 and remote servers 124 that are connected over the WAN. Note that for the sake of brevity, client devices 104 are herein denoted as “clients” and remote servers 124 are denoted as “servers.” The three servers 124 shown in FIG. 1 represent any number of servers over the WAN.

The encrypted flows within 112/118 channel typically comprise SSL/TLS encrypted TCP data connections. However, in alternative embodiments the encrypted flows may comprise any suitable encryption technique such as IP security (IPSec). SSL/TLS traffic is denoted herein SSL for the sake of brevity. The SSL traffic is normally characterized by various application specific protocol types, e.g. HTTPS for browsing application and SSL-POP/SSL-IMAP/SSL-SMTP for email application. Additionally or alternatively, encrypted connections can be used also for Internet faxing, instant messaging, Voice-Over-IP (VoIP) or any other suitable application. In yet alternative embodiments the disclosed techniques can be used for any suitable connection or connectionless type of messaging transfer with an appropriate encryption mechanism.

A network switch 126 routes the 112/118 traffic between Intranet 108 and WAN 120. In addition, it connects and transfers data to and from various parts of system 100. The combination of Intranet 108, WAN 120 and switch 126 is hereinafter denoted “network” in general. In particular, a Network Monitoring Center (NMC) 128 is connected to the switch through a connection 132, a SIA 136 is connected to the switch through a connection 140 and an Authentication Authorization and Accounting (AAA) server 144 is connected to the switch through a connection 148. In an embodiment AAA server 144 comprises a Remote Authentication Dial-In User Service (RADIUS) server. In alternative embodiments Switch 126 may represent multiple Ethernet switches and or IP routers, LAN connections, WAN connections and/or any combination thereof. The dashed lines depict traffic flows within switch 126. In particular, Lines 160/164 represent principally all the encrypted connections within traffic 112/118. SIA 136 normally passes this encrypted traffic transparently.

NMC 128 accepts from switch 126, via connection 132 and an interface 172, plain (i.e. not encrypted) data that is related to devices 104 or their users. The NMC constantly analyzes this data according to predefined analysis rules. Based on the analysis the NMC dynamically establishes a list of rules for selection of encrypted data connections out of 160/164 connections. The application of the selection rules is described below. As an example of rule establishment, the NMC accepts from the switch, through a tap or a mirror port not shown in FIG. 1, a flow 168, which comprises a copy of principally all the plain part of traffic 112/118, depicted by a line 166. The NMC constantly analyzes the traffic copy by means of a processing unit 176, according to predefined malware detection rules. Once processing unit 176 detects a malware (malicious content) received at a specific client device 104, it writes in a rule table 180, which resides in memory 184, the IP address of the device as a selection rule. The processor also assigns a life period to each selection rule according to predefined criteria.

As another example, the predefined analysis rules at the NMC comprise target user login-names for accessing Intranet 108, wherein those target users are candidates for lawful interception by the network. NMC 128 accepts from switch 126 a data flow 188, which comprises a copy of an AAA message flow 190 that pertains to AAA server 144. Processor 176 analyses the AAA messages and upon detecting a predefined target user login-name it searches, in the messages, for association between the detected login-name and a temporary IP address that is dynamically allocated to it by an access management function of Intranet 108 (not shown in FIG. 1). Processor 176 then adds the discovered IP address to the selection rule table. In an alternative embodiment the NMC may achieve temporary IP addresses by direct querying a directory 192 of AAA server 144 or by querying Broadband Access Servers (BRASs), not shown in FIG. 1. Rule table 180 may include, alternatively or additively, any other suitable selection rule, e.g. a URL that is associated with a message in which malware is detected and/or any combination of the above rules.

Processing unit 176 transfers rule table 180 to SIA 136 via switch 126, as illustrated by flow 194, and keeps updating this table in the SIA upon changes in the rules. SIA 136 applies the selection rules to the encrypted data that it transfers. Upon detecting an encrypted connection that matches at least one of the rules, the SIA decrypts the connection data, as exemplified hereinafter, and transfers the decrypted plain data to NMC 128. This transfer is depicted as flow 196. The NMC then inspects the decrypted plain data for security threats, as described in more detail hereinafter.

Although application of the disclosed techniques significantly reduces the burden imposed on SIA 136, in large systems this burden may still be too heavy for a single appliance. Therefore, in an embodiment, switch 126 distributes the encrypted traffic among multiple SIAs, which are denoted in FIG. 1 as 136, 136-1 . . . 136-n. The switch may distribute the load among the SIAs according to any suitable load balancing technique known in the art.

Processing unit 176 typically comprises a programmable processor, which is programmed in software to carry out the functions described herein. The software may be downloaded to the processor in electronic form, over a network, for example, or it may, alternatively or additionally, be provided and/or stored on non-transitory tangible media, such as magnetic, optical, or electronic memory. In some embodiments, NMS 128, and in particular processing unit 128 or parts thereof, may be implemented using hardware modules such as Field-Programmable Gate Arrays (FPGAs) and/or Application-Specific Integrated Circuits (ASICs).

In alternative embodiments the security application that inspects the decrypted data for security threats resides elsewhere in system 100 rather than within NMC 128. Yet in alternative embodiments the NMC and SIA monitor and inspect, alternatively or additionally, other communication channels than Intranet-to-WAN communication. For example, they can handle also data channels within Intranet 108, including traffic that pertains to application servers within Intranet 108, and data channels within WAN 120. In specific embodiments wherein the AAA flow 190 is encrypted, the SIA or the NMC or some other unit in the system would decrypt it prior to its analysis by the NMC.

The configurations of systems 100 and NMC 128 shown in FIG. 1 are example configurations, which were chosen purely for the sake of conceptual clarity. In alternative embodiments, any other suitable system and NMC configurations can also be used. For example, the disclosed techniques can be carried out by any suitable processor or processors, typically located at any suitable location en-route from the client devices to the services that offer encrypted communications.

The NMC functionality may be carried out by any suitable computing device that correlates between the SIA and the AAA server, and has a GUI or API to define “targets” for inspection. NMC functions can be embodied, for example, in a lawful interception compliance system operated by communication service providers (like the STAR-GATE system produced by Verint Systems, Inc. (Melville, N.Y.)). As another example, NMC functions may be embodied in a security application (e.g., data leakage prevention application).

Alternatively to RADIUS, AAA server 144 may comprise any suitable type of AAA server. Generally, any directory service such as Lightweight Directory Access Protocol (LDAP), any AAA protocol such as RADIUS or Diameter, and any IP assignment protocol like Dynamic Host Configuration Protocol (DHCP), may be used.

The above description has focused on the specific elements of systems 100 and NMC 128 that are essential for understanding certain features of the disclosed techniques. Elements that are not needed for this understanding have been omitted from the figures for the sake of simplicity but will be apparent to persons of ordinary skill in the art.

Method Description

FIG. 2 is a flowchart that schematically illustrates a method for selective SSL inspection, in accordance with an embodiment that is described herein. The method begins with a setting analysis rule step 204, in which NMC 128 is configured with data analysis rules, e.g. login-names of target users and malware detection rules. At a data analysis step 206 the NMC analyzes plain user data and/or AAA information that it accepts from Intranet 108 through switch 106 or directly from AAA server 144. At a selection rules establishment step 208 NMC 128 dynamically establishes a list of rules for later selection of encrypted data connections. Such rules may comprise temporary IP addresses that are allocated to target users by a Dynamic Host Configuration Protocol (DHCP) server, client IP addresses or server URLs that pertain to malware contaminated connections or any other suitable selection rule.

At a selection rule application step 212, SIA 136 applies the selection rules, which it accepts from the NMC, to encrypted connections 160/164 that pass through it. At a decision step 216, SIA 136 determines the next method step for each new encrypted connection that appears in 160/164 traffic. If the new connection does not match any selection rule the method proceeds to a passing transparently step 220. If the new connection matches at least one selection rule the method proceeds to a connection termination step 222. SIA 136 carries out the termination at step 222 by cutting the matching connection and substituting it with a pair of separate TCP connections, one toward the related client 104 along data flows 112 and 160, and the other toward the related server 124 along data flows 118 and 164. In alternative embodiments SIA 136 decrypts the connection data without terminating it and proceeds from step 216 directly to step 232.

Certificate providing step 224, which follows, relates to Public Key Infrastructure (PKI) based security implementation. In this implementation the SIA functions as a Man In The Middle (MITM) and provides client 104 with a substitute server certificate on behalf of the real server 108. In enterprise environment client browsers may be pre-configured to accept the SIA's certificate. In public environment such pre-configured is normally not applicable. In alternative embodiments, wherein non-PKI based channel encryption is implemented, step 224 is not applicable. At a session maintaining step 228, SIA 136 maintains separate secure connections, typically SSL/TLS based, over the above mentioned terminated TCP connections, while decrypting the encrypted data that it receives from each end party and re-encrypting it back-to-back toward the opposite party. The SIA thus constitutes an SSL proxy for secure connections that it terminates. At a transfer step 232 the SIA transfers the decrypted plain data of the connection in question to the NMC for inspection. In some embodiments SIA 136 transfers to the MNC plain data of only one of the pair of connections that pertain to a terminated encrypted connection. In alternative embodiments the SIA determines this aspect according to the selection rules that it accepts from the NMC.

At an inspection step 236 NMC 128 inspects the plain data of the decrypted connections against security threats, such as sensitive information leak from Intranet 108 and malware contamination. At a decision step 240 the NMC determines the method step that follows the inspection. If no security threat is detected then no further action is required regarding the inspected connection. This case is denoted by a no-operation step 244. If some security threat is detected, the flowchart proceed to an action application step 248, in which the MNC applies predefined consequent actions that correspond to the detected threat. As an example, sensitive information leaks, as well as malwares, can be blocked. As another example, predefined information types that relate to target users may be copied and logged.

The flowchart shown in FIG. 2 is an example flowchart, which was chosen purely for the sake of conceptual clarity. In alternative embodiments, any other suitable operation sequence can also be used for carrying out the disclosed techniques. Method steps and details that are not mandatory for understanding the disclosed techniques were omitted from the figure for the sake of clarity.

Although the embodiments described herein mainly address selective inspection of encrypted traffic, the principles of the present disclosure can be used also for other applications that involve inspection of data traffic.

It will thus be appreciated that the embodiments described above are cited by way of example, and that the present disclosure is not limited to what has been particularly shown and described hereinabove. Rather, the scope of the present disclosure includes both combinations and sub-combinations of the various features described hereinabove, as well as variations and modifications thereof which would occur to persons skilled in the art upon reading the foregoing description and which are not disclosed in the prior art. 

1. A method, comprising: analyzing data relating to users of a communication network, which carries multiple data connections conveying encrypted data, so as to establish one or more selection rules; selecting a subset of the multiple data connections based on the selection rules; and configuring an inspection device to decrypt the encrypted data conveyed by the data connections in the selected subset.
 2. The method according to claim 1, wherein analyzing the data comprises identifying one or more target users of the communication network, and defining the selection rules to select the data connections associated with the target users.
 3. The method according to claim 1, wherein analyzing the data comprises obtaining respective identifiers of one or more target users by communicating with an authentication node of the communication network, and wherein selecting the subset comprises choosing the data connections associated with the obtained identifiers.
 4. The method according to claim 3, wherein the authentication node comprises a Remote Authentication Dial-In User Service (RADIUS) server.
 5. The method according to claim 3, wherein the identifiers comprise temporary Internet Protocol (IP) addresses that are assigned to the target users.
 6. The method according to claim 1, wherein analyzing the data comprises defining the selection rules so as to identify one or more of the data connections that carry malicious content.
 7. The method according to claim 1, wherein selecting the subset comprises configuring a network switch to forward only the selected subset of the network connections to the inspection device.
 8. The method according to claim 7, wherein configuring the network switch comprises causing the network switch to distribute the network connections in the subset among multiple inspection devices in accordance with a load balancing criterion.
 9. The method according to claim 1, wherein the encrypted data has been encrypted in accordance with a Secure Socket Layer (SSL) protocol.
 10. The method according to claim 1, wherein the encrypted data has been encrypted in accordance with a Transport Layer Security (TLS) protocol.
 11. Apparatus, comprising: one or more network interfaces, which are configured to communicate with a communication network that carries multiple data connections conveying encrypted data; and a processor, which is configured to analyze data relating to users of the communication network so as to establish one or more selection rules, to select a subset of the multiple data connections based on the selection rules, and to configure an inspection device to decrypt the encrypted data conveyed by the data connections in the selected subset.
 12. The apparatus according to claim 11, wherein the processor is configured to identify one or more target users of the communication network by analyzing the data, and to define the selection rules to select the data connections associated with the target users.
 13. The apparatus according to claim 11, wherein the processor is configured to obtain respective identifiers of one or more target users by communicating with an authentication node of the communication network, and to selecting the subset by choosing the data connections associated with the obtained identifiers.
 14. The apparatus according to claim 13, wherein the authentication node comprises a Remote Authentication Dial-In User Service (RADIUS) server.
 15. The apparatus according to claim 13, wherein the identifiers comprise temporary Internet Protocol (IP) addresses that are assigned to the target users.
 16. The apparatus according to claim 11, wherein the processor is configured to define the selection rules so as to identify one or more of the data connections that carry malicious content.
 17. The apparatus according to claim 11, wherein the processor is configured to configure a network switch to forward only the selected subset of the network connections to the inspection device.
 18. The apparatus according to claim 17, wherein the processor is configured to cause the network switch to distribute the network connections in the subset among multiple inspection devices in accordance with a load balancing criterion.
 19. The apparatus according to claim 11, wherein the encrypted data has been encrypted in accordance with one of a Secure Socket Layer (SSL) protocol and a Transport Layer Security (TLS) protocol.
 20. Apparatus, comprising: a monitoring unit, which is configured to analyze data relating to users of a communication network, which carries multiple data connections conveying encrypted data, so as to establish one or more selection rules, to select a subset of the multiple data connections based on the selection rules, and to output an indication of the selected subset; and an inspection device, which is configured to receive the indication of the selected subset from the monitoring unit, to decrypt the encrypted data conveyed by the data connections in the selected subset, and to output the decrypted data. 